/**
 * Created by Administrator on 2017/4/26.
 */
var mySwiper = new Swiper('.swiper-container',{
    pagination: '.pagination',
    loop:true,
    grabCursor: true,
    paginationClickable: true,
    spaceBetween: 30,
    centeredSlides: true,
    autoplay: 2500,
    autoplayDisableOnInteraction: false

});
$('.arrow-left').on('click', function(e){
    e.preventDefault();
    mySwiper.swipePrev()
});
$('.arrow-right').on('click', function(e){
    e.preventDefault();
    mySwiper.swipeNext()
});